//@PCSTART@//
package com.bluetane.pc;
//@PCEND@//
/*//@ANDROIDSTART@//
package com.bluetane.android;
//@ANDROIDEND@//*/

public class SendableString extends SendableObject
{
	
	public SendableString(String startString)
	{
		super("String", startString.getBytes());
		sendObject = startString;
		
	}
	
	String getString()
	{
		if (sendObject == null)
			sendObject = new String(objectBytes);
		return (String) sendObject;
	}
	
	byte[] getBytes()
	{
		if (objectBytes == null)
			objectBytes = ((String)sendObject).getBytes();
		return objectBytes;
	}
}
